package team.cw.land.test.activiti.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateFormatUtil {
    private static SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-mm-dd hh:MM:ss");

    public static String dateFormat(Date date){
        if (date != null){
            return simpleDateFormat.format(date);
        }
        return null;
    }
}
